﻿<Window x:Class="SharePointOptimizer.PL.WPF.OptionDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:lp="clr-namespace:SharePointOptimizer.PL.WPF.Properties"
        xmlns:Model="clr-namespace:SharePointOptimizer.Model;assembly=SharePointOptimizer.Model"
        xmlns:s="clr-namespace:System;assembly=mscorlib"
        Title="SharePoint Optimizer Options" Height="234" Width="410"       
        Icon="SharePointOptimizer_Logo.ico"
        WindowStartupLocation="CenterScreen" Loaded="Window_Loaded">
    <Window.Background>
        <ImageBrush ImageSource="Images/watermark.png" Stretch="UniformToFill"  />
    </Window.Background>
    <Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="template/BureauBlue.xaml"/>               
                <ResourceDictionary Source="Styles/GlassButton.xaml"/>
            </ResourceDictionary.MergedDictionaries>

        </ResourceDictionary>

    </Window.Resources>
    <Grid DataContext="{x:Static lp:Settings.Default}" Loaded="Grid_Loaded">
        <Label 
            Content="Collect Column Details" 
            Height="23" Margin="19,26,164,0" 
            Name="label1" VerticalAlignment="Top" 
            Foreground="White"
            />
        <CheckBox 
            Height="16" 
            HorizontalAlignment="Left"
            Margin="150,26,0,0" 
            Name="checkBox1" 
            VerticalAlignment="Top" 
            IsChecked="{Binding CollectColumndetails}"
            />
        <Button 
            Height="28" 
            HorizontalAlignment="Left" 
            Margin="19,148,0,0" 
            Name="btnSaveOptionsOK" 
            VerticalAlignment="Top" 
           Content="OK"
             Width="75" Click="btnSaveOptionsOK_Click" 
         
           >
           
        </Button>
        <Button 
            Height="28" 
            HorizontalAlignment="Left" 
            Margin="301,148,0,0" 
            Name="btnOptionCancel" 
            VerticalAlignment="Top"
            Background="#FF7CDDFD"
            Width="75" Click="btnOptionCancel_Click" 
            Content="Cancel">

            
        </Button>
        <Label 
            Content="Settings" 
            Height="27" 
            HorizontalAlignment="Left" 
            Margin="4,6,0,0" 
            Name="label2" 
            Foreground="White"
            VerticalAlignment="Top" 
            Width="225" 
            FontWeight="Bold" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="150,72,0,0" Name="txtProductKey" VerticalAlignment="Top" Width="226" />
        <Label Content="Product Key" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="19,72,0,0" Name="label3" VerticalAlignment="Top" Width="75" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="150,101,0,0" Name="txtEmail" VerticalAlignment="Top" Width="226" />
        <Label Content="E-mail address" Foreground="White" Height="28" HorizontalAlignment="Left" Margin="19,105,0,0" Name="label4" VerticalAlignment="Top" Width="97" />
        <Label Content="Licensing" FontWeight="Bold" Foreground="White" Height="27" HorizontalAlignment="Left" Margin="4,48,0,0" Name="label5" VerticalAlignment="Top" Width="225" />
    </Grid>
</Window>
